package com.ruyuan2020.im.design.mementopattern.use;
// Memento.java - 备忘录类，用于存储TextDocument的内部状态
public class Memento {

    private final String content;

    public Memento(String content) {
        this.content = content;
    }

    public String getContent() {
        return content;
    }
}
